package com.hqyj.exception;

import lombok.Data;

/**
 * 项目:demo-springboot-230701
 * 描述:
 * 时间:2023/9/27 8:28
 * 作者:admin
 * 版本:1.0
 **/
@Data
public class UserInfoException extends Exception {
    //给用户的提示信息
    private String msg;
    //给程序员的提示信息
    private String info;
    //状态吗
    private int code;

    public UserInfoException(String message, String msg, String info, int code) {
        super(message);
        this.msg = msg;
        this.info = info;
        this.code = code;
    }
}
